package com.ict.start;

import com.ict.common.FileConfigGet;
import com.ict.thread.LvdiantuSynThread;

/**
 * Created by chenlong on 2017/10/9.
 * Info:
 */
public class MainStart {
    public static void main(String[] args) {
        //获取配置参数
        FileConfigGet fileConfigGet=new FileConfigGet();

        //生成位置数据文件
        AisPos aisPos=new AisPos(fileConfigGet);

        //根据数据文件生成绿点图，并且指定时间段以后清除绿点图
        LvdiantuSynThread lvdiantuSynThread=new LvdiantuSynThread(aisPos,fileConfigGet);
        Thread thread2=new Thread(lvdiantuSynThread, "LvdiantuThread");
        thread2.run();
    }
}
